
package com.ljx.recruitment.user.domain.dto;

import com.ljx.recruitment.user.domain.entity.Menu;
import com.ljx.recruitment.user.domain.entity.Permission;
import com.ljx.recruitment.user.domain.entity.Role;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author: LiJunXi
 * @Description:
 * @Date: 2024-10-02  00:19
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserDto {

    private Long id;

    private String name;

    private String avatar;

    private String username;

    private List<Permission> permissions;

    private List<Role> roles;

    private List<Menu> menus;

}
